﻿namespace Probel.Client.RestEntities
{
    using System.Xml.Serialization;

    [XmlRoot(Namespace = "http://schemas.datacontract.org/2004/07/Probel.Statistics.Domain",
             ElementName = "ApplicationsSummary")]
    public class ApplicationsSummaryRest
    {
        #region Properties

        [XmlElement]
        public int LdocCount
        {
            get;
            set;
        }

        [XmlElement]
        public int NDoctorCount
        {
            get;
            set;
        }

        [XmlElement]
        public int OtherCount
        {
            get;
            set;
        }

        [XmlArray("WindowsVersions")]
        [XmlArrayItem("WindowsVersion")]
        public WindowsVersionRest[] WindowsVersions
        {
            get;
            set;
        }

        #endregion Properties
    }
}